package models

import "time"

type Vip struct {
	VipID    int64 `json:"vipID,string" db:"vip_id"`
	UserID   int64 `json:"userID,string" db:"user_id"`
	Integral int   `json:"integral" db:"integral"`
	User     `json:"user"`
}

type VipHistory struct {
	HistoryID   int64     `json:"historyID,string" db:"history_id"`
	VipID       int64     `json:"vipID,string" db:"vip_id"`
	Number      int       `json:"number" db:"number"`
	UpdateTime  time.Time `json:"updateTime" db:"update_time"`
	Status      int       `json:"status" db:"status"` // 1 增加 0 减少
	Description string    `json:"description" db:"description"`
	UserName    string    `json:"userName" db:"user_name"`
}
